package com.ls.lserp.modules.trade.dao;

import java.util.List;

import com.ls.lserp.common.persistence.CrudDao;
import com.ls.lserp.common.persistence.annotation.MyBatisDao;
import com.ls.lserp.modules.trade.entity.CartonInfo;
import com.ls.lserp.modules.trade.entity.Enchase;

/**
 * @ClassName: EnchaseDao
 * @Description: 分类接口
 * 
 * @author 
 * @date 2017年3月24日 下午17:50:00
 *
 */
@MyBatisDao
public interface EnchaseDao extends CrudDao<Enchase> {
	
	/**
	  * @Title: findCartonInfoList
	  * @Description: 选择纸箱一览
	  * @param @param cartonInfo
	  * @param @return
	  * @return List<CartonInfo> 
	  * @throws
	  */
	public List<CartonInfo> findCartonInfoList(CartonInfo cartonInfo);
	
	/**
	  * @Title: findIndentList
	  * @Description: 订单一览
	  * @param @param enchase
	  * @param @return
	  * @return List<Enchase> 
	  * @throws
	  */
	public List<Enchase> findIndentList(Enchase enchase);
	
	/**
	  * @Title: findSizeList
	  * @Description: 所有尺码一览
	  * @param @param enchase
	  * @param @return
	  * @return List<Enchase> 
	  * @throws
	  */
	public List<Enchase> findSizeList(Enchase enchase);
	
	/**
	 * 装箱单信息表
	 * @param enchase
	 * @return
	 */
	public int insertPackageP(Enchase enchase);
	
	/**
	 * 装箱单信息表
	 * @param enchase
	 * @return
	 */
	public int insertPackageDetailsS(Enchase enchase);
	
	/**
	  * @Title: findPackageDetailsList
	  * @Description: 箱单一览
	  * @param @param enchase
	  * @param @return
	  * @return List<Enchase> 
	  * @throws
	  */
	public List<Enchase> findPackageDetailsList(Enchase enchase);
	
	/**
	  * @Title: deletePackageDetails
	  * @Description: 物理删除箱单明细
	  * @param @param enchase
	  * @param @return
	  * @return int 
	  * @throws
	  */
	public int deletePackageDetails(Enchase enchase);
}
